﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using CMS.DataAccess;
using CMS.BaseEntity;
using System.Data;
using System.Data.SqlClient;
using ElectronicSelling.DataAccess;

namespace CMS.BusinessLogic
{
    public class SectionLogic
    {
        SectionAccess sAccess = new SectionAccess();
        public bool IsInsertSection(Section section)
        {
            return sAccess.IsInsertSection(section);
        }

        public DataTable GetSectionById(Section section)
        {
            return sAccess.GetSectionById(section);
        }

        public bool IsUpdateSection(Section section)
        {
            return sAccess.IsUpdateSection(section);
        }

        public bool IsDeleteSection(Section section)
        {
            return sAccess.IsDeleteSection(section);
        }

        public DataTable GetListSection()
        {
            return sAccess.GetListSection();
        }
    }
}